// component/cellbox/cellbox.js
import Dialog from '../../miniprogram_npm/@vant/weapp/dialog/dialog';
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    celllist:{
      type:Array
    }
  },
  options:{
    addGlobalClass:true
  },
  /**
   * 组件的初始数据
   */
  data: {
    show: true,
  },

  /**
   * 组件的方法列表
   */
  
  methods: {
    onClose(event) {
      console.log(event.detail)
    },
    getInfo(e){
      const that = this;
      that.triggerEvent('getInfo', e.currentTarget);
    },
    search(e){
      const that = this;
      that.triggerEvent('search', e.detail);
    },
    searchInput(e){
      const that = this;
      that.triggerEvent('searchInput', e.detail);
    }
  }
})
